import { Module } from '@nestjs/common';
import { PlayerModelDataService } from './player-model-data.service';
import { PlayerModelDataResolver } from './player-model-data.resolver';
import { MongooseModule } from '@nestjs/mongoose';
import {
  PlayerModelData,
  PlayerModelDataSchema,
} from './entities/player-model-datum.entity';

@Module({
  providers: [PlayerModelDataResolver, PlayerModelDataService],
  imports: [
    MongooseModule.forFeature([
      { name: PlayerModelData.name, schema: PlayerModelDataSchema },
    ]),
  ],
})
export class PlayerModelDataModule {}
